README for replication files;
----------------------------
INITIAL DEPOSIT DATE:01/06/2023
THIS VERSION: 01/06/2023
-----------------------------
ARTICLE: "Public Preferences for International Law Compliance: Respecting Legal Obligations or Conforming to Common Practices?"
AUTHORS: Saki Kuzushima, Kenneth Mori McElwain, and Yuki Shiraito
-----------------------------
Replication code and data needed to reproduce results presented in-text and in the Appendix provided for the study. 

NOTE: 
      - Results are saved in /results. 
      - Tables will reproduce all results, but note that manual, presentational edits were made to all tables.

Please report any errors to Saki Kuzushima; current contact info: skuzushi@umich.edu
-----------------------------
FILE LIST:

packages.R -- the R script that install specific versions of the packages we use
main.R -- the R script that produces all the tables and figures in the main text
main_si.R -- the R script that produces all the tables and figures in the Appendix 

/data/data_clean.csv -- data from the survey experiment, cleaned for a stylistic purpose

/code/*.R -- replication code that produces all the figures and tables in the main text and the Appendix

/results/main/*.pdf -- figures in the main text
/results/main_si/*.pdf -- figures in the Appendix 
/results/main_si/*.csv -- tables in the Appendix


-----------------------------
PACKAGE VERSIONS:

dplyr -- 1.0.9
ashr  -- 2.2-47

-----------------------------
SOFTWARE VERSIONS:

R version 4.1.0 (2021-05-18)

-----------------------------
PLATFORM and CONFIGURATIONS:

platform: macOS Big Sur Version 11.6.6
processor name: 8-Core Apple M1 (4 performance, 4 efficiency) 
memory: 16G

-----------------------------

RUN TIME: 

packages.R -- 34.4 seconds
main.R -- 2.9 seconds 
main_si.R -- 0.9 seconds 
